package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.PopupLogDao;
import com.vf.admin.client.service.PopupLogService;
import com.vf.admin.miaodong.entity.PopupLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PopupLogServiceImpl implements PopupLogService{

    @Autowired
    PopupLogDao popupLogDao;


    @Override
    public void save(PopupLog params) {
        popupLogDao.add(params);
    }

    @Override
    public PopupLog findOne(Integer userId, Integer type) {
        return popupLogDao.findOne(userId, type);
    }
}
